#pragma once

#include <map>
using std::map;

#include <string>
using std::string;


class AbstractModel
{
	public:
		virtual void draw( ) const = 0;

        virtual AbstractModel& setAttribute( string key, string value )
        {
			attributes[key]= value;
			return *this;
		}

		virtual string getAttribute( string key )
        {
			return attributes[key];
		}

    private:
        map<string, string> attributes;
};

